﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using ExameRegister.BO;
using System.Collections.ObjectModel;


namespace ExameRegister.Web.Sevice
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in code, svc and config file together.
    public class Service1 : IService1
    {


        public string Action(string classname, string methodname, System.Collections.ObjectModel.ObservableCollection<string> Parameters)
        {
            object result = ExcuteWCFService.ExcuteServiceAction(classname, methodname, Parameters);

            return Utility.ConvertToJson(result);
        }
    }
}
